package com.atguigu.spzx.cart.service;

import com.atguigu.spzx.model.entity.cart.CartInfo;

import java.util.List;

/**
@author  LT
@create 2024-03-28-16:08
*/

public interface CartService {

    void addToCart(Long skuId, Integer skuNum);

    List<CartInfo> cartList();

    void deleteCart(Long skuId);

    void clearCart();

    void checkCart(Integer skuId, Integer isChecked);

    List<CartInfo> getAllCkecked();

    void allCheckCart(Integer isChecked);

    void clearCheckedCart();

}
